package com.ruoyi.experiment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CTF实验环境对象 ctf_experimental_environment
 * 
 * @author 邓鑫
 * @date 2023-07-29
 */
public class CtfExperimentalEnvironment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** CTF实验环境id */
    private Long ctfEnvironmentId;

    /** CTF实验环境名称 */
    @Excel(name = "CTF实验环境名称")
    private String ctfEnvironmentName;

    /** 实验时间 */
    @Excel(name = "实验时间")
    private Long ctfEnvironmentTime;

    /** 实验环境类型 */
    @Excel(name = "实验环境类型")
    private String ctfEnvironmentType;

    /** 标签 */
    @Excel(name = "标签")
    private String ctfEnvironmentLabel;

    /** 是否允许增加实验时间 */
    private String isTimeAdd;

    /** 增加的次数 */
    private Long addCount;

    /** 每次增加的时间 */
    private Long addTime;

    /** 实验答案选择 */
    private String experimentAnswerSelection;

    /** 账户名 */
    private String accountName;

    /** 密码 */
    private String password;

    /** CTF类型 */
    private String ctfType;

    /** 
IP */
    private String ip;

    /** 端口 */
    private String port;

    public void setCtfEnvironmentId(Long ctfEnvironmentId) 
    {
        this.ctfEnvironmentId = ctfEnvironmentId;
    }

    public Long getCtfEnvironmentId() 
    {
        return ctfEnvironmentId;
    }
    public void setCtfEnvironmentName(String ctfEnvironmentName) 
    {
        this.ctfEnvironmentName = ctfEnvironmentName;
    }

    public String getCtfEnvironmentName() 
    {
        return ctfEnvironmentName;
    }
    public void setCtfEnvironmentTime(Long ctfEnvironmentTime) 
    {
        this.ctfEnvironmentTime = ctfEnvironmentTime;
    }

    public Long getCtfEnvironmentTime() 
    {
        return ctfEnvironmentTime;
    }
    public void setCtfEnvironmentType(String ctfEnvironmentType) 
    {
        this.ctfEnvironmentType = ctfEnvironmentType;
    }

    public String getCtfEnvironmentType() 
    {
        return ctfEnvironmentType;
    }
    public void setCtfEnvironmentLabel(String ctfEnvironmentLabel) 
    {
        this.ctfEnvironmentLabel = ctfEnvironmentLabel;
    }

    public String getCtfEnvironmentLabel() 
    {
        return ctfEnvironmentLabel;
    }
    public void setIsTimeAdd(String isTimeAdd) 
    {
        this.isTimeAdd = isTimeAdd;
    }

    public String getIsTimeAdd() 
    {
        return isTimeAdd;
    }
    public void setAddCount(Long addCount) 
    {
        this.addCount = addCount;
    }

    public Long getAddCount() 
    {
        return addCount;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }
    public void setExperimentAnswerSelection(String experimentAnswerSelection) 
    {
        this.experimentAnswerSelection = experimentAnswerSelection;
    }

    public String getExperimentAnswerSelection() 
    {
        return experimentAnswerSelection;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCtfType(String ctfType) 
    {
        this.ctfType = ctfType;
    }

    public String getCtfType() 
    {
        return ctfType;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ctfEnvironmentId", getCtfEnvironmentId())
            .append("ctfEnvironmentName", getCtfEnvironmentName())
            .append("ctfEnvironmentTime", getCtfEnvironmentTime())
            .append("ctfEnvironmentType", getCtfEnvironmentType())
            .append("ctfEnvironmentLabel", getCtfEnvironmentLabel())
            .append("isTimeAdd", getIsTimeAdd())
            .append("addCount", getAddCount())
            .append("addTime", getAddTime())
            .append("experimentAnswerSelection", getExperimentAnswerSelection())
            .append("accountName", getAccountName())
            .append("password", getPassword())
            .append("ctfType", getCtfType())
            .append("ip", getIp())
            .append("port", getPort())
            .toString();
    }
}
